home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CU Amiga Super CD-ROM 26
/
CU Amiga Magazine's Super CD-ROM 26 (1998)(EMAP Images)(GB)[!][issue 1998-09].iso
/
CUCD
/
Utilities
/
Freedom
/
Docs
/
Tools
< prev
next >
Wrap
Text File
|
1998-07-16
|
3KB
|
105 lines
The directory "Tools" contains some utilities used mainly by the "Install
TrueType Font" script. With this tools you can install fonts manually.
***************************************************************************
GetToolType: (ARGUMENT TEMPLATE: "ICON/A,TOOLTYPE/A")
============
Gets the tooltype TOOLTYPE from icon ICON and prints it to the standard
output. Return Codes:
RETURN_OK : everything went fine (= result printed to output)
RETURN_WARN : tooltype was found, but did not contain any data, i.e.
the tooltype was BOOL:
"<TOOLTYPE>" instead of "<TOOLTYPE>=<VAL>"
RETURN_ERROR: tooltype and/or icon could not be found/loaded
RETURN_FAIL : fatal error. either bad arguments and/or library open error
***************************************************************************
MakeOFont: (ARGUMENT TEMPLATE: "FILENAME/A")
==========
Creates a ".FONT" file for outline fonts. Return Codes:
RETURN_OK : everything OK
RETURN_WARN : something didn't work
***************************************************************************
ViewOFont: (ARGUMENT TEMPLATE: "FileName/A,FontName,Size/N,XDPI/N,YDPI/N"
==========
Taken from Amiga Developper CD with a few changes. Can be used to test
any outline font (not only truetype fonts installed by Freedom). It is
very primitive and has some stupid limitations, such as no line break,
immediate exit when done, etc.
Example usage: ViewOFont s:startup-sequence fonts:arial.font 40 72 72
***************************************************************************
GetTTInfo: (ARGUMENT TEMPLATE: "FONTNAME/A,QUERY/M/A")
==========
Can be used to retrieve information from a truetype font. You must
specify the real font file (for example: "arial.ttf"). Actually you
can use the following QUERY keywords:
MACSTYLE .............. MacStyle (bit 0 = bold bit 1 = italic)
ISFIXED ............... "0" or "1"
FAMILYNAME ............ family name
SUBFAMILYNAME ......... subfamily name
COPYRIGHT ............. copyright
FULLFONTNAME .......... full font name
ISBOLD ................ "0" or "1"
ISITALIC .............. "0" or "1"
WEIGHT ................ stem weight converted to amiga format
REALWEIGHT ............ unconverted weight
HORIZSTYLE ............ condensed/expanded/normal/etc. converted to
Amiga format
REALHORIZSTYLE ........ unconverted horizstyle
UNITS_PER_EM .......... the "resolution" of the EM square
ASCENDER .............. ascender (distance: baseline to highest point)
DESCENDER ............. descender (distance: baseline to lowest point)
***************************************************************************
MakeOTag: (ARGUMENT TEMPLATE: "FILENAME/A,FONTNAME/A"
=========
Creates an outline tag file. FONTNAME is the filename of the truetype
font without (!) any path (for example "arial.ttf"). This program does
not retrieve any information itself. You will be requested for all
necessary info.
***************************************************************************
ScanOTag: (ARGUMENT TEMPLATE: "FILE/A")
=========
Can be used to scan the information in an otag file (engine name, font-
name, and much more). You can use this program to see what other
outline fonts using another engine (Compugraphic, Postscript) have
stored in the otag file.